from django.contrib import admin
from douyuDataShow.models import DouYuDataModel


class DouYuDataModelAdmin(admin.ModelAdmin):
    # fields = ['room_name', 'category', 'auth', 'hot_num']
    list_display = ['room_name', 'category', 'auth', 'hot_num', 'create_time']


admin.site.register(DouYuDataModel, DouYuDataModelAdmin)

